package com.library.bean;

public class Book {
	private int bookId;//书籍ID
	private String bookNo;//书籍编号
	private String bookName;//书名
	private String bookWriter;//书籍的作者
	private double bookPrice;//单价
	private int bookNum;//库存
	private String bookType;//书本类型
	public int getBookId() {
		return bookId;
	}
	public void setBookId(int bookId) {
		this.bookId = bookId;
	}
	public String getBookNo() {
		return bookNo;
	}
	public void setBookNo(String bookNo) {
		this.bookNo = bookNo;
	}
	public String getBookName() {
		return bookName;
	}
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	public String getBookWriter() {
		return bookWriter;
	}
	public void setBookWriter(String bookWriter) {
		this.bookWriter = bookWriter;
	}
	public double getBookPrice() {
		return bookPrice;
	}
	public void setBookPrice(double bookPrice) {
		this.bookPrice = bookPrice;
	}
	public int getBookNum() {
		return bookNum;
	}
	public void setBookNum(int bookNum) {
		this.bookNum = bookNum;
	}
	public String getBookType() {
		return bookType;
	}
	public void setBookType(String bookType) {
		this.bookType = bookType;
	}
	public Book() {
		
	}
	@Override
	public String toString() {
		return "Book [bookId=" + bookId + ", bookNo=" + bookNo + ", bookName=" + bookName + ", bookWriter=" + bookWriter
				+ ", bookPrice=" + bookPrice + ", bookNum=" + bookNum + ", bookType=" + bookType + "]";
	}
}
